package com.fs.po;

import java.io.Serializable;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;

public class DBUser implements Serializable {

	
	@Id(column = "_id")//字段名_id, 是主键，如果类型为int，则自增长
	private int _id;

	@Column(column = "name")//字段名:name
	public String name;
	

	@Column(column = "password")//字段名: email
	private String password;
	
	public DBUser() {
		 
	}

	public DBUser(int _id, String name, String password) {
		super();
		this._id = _id;
		this.name = name;
		this.password = password;
	}

	public DBUser(String name, String password) {
		super();
		this.name = name;
		this.password = password;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "DBUser [_id=" + _id + ", name=" + name + ", password="
				+ password + "]";
	}
	
	
	
}
